<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>class</title>
</head>
<body>
<a href="{hd:$smarty.const.__CONTROLLER__}&a=add">添加班级</a>
 <table border="1">
 	{hd:section loop=$data name=c}
 		<tr>
 			<td>{hd:$data[c].cid}</td>
 			<td>{hd:$data[c].cname}</td>
 			<td><a href="{hd:$smarty.const.__CONTROLLER__}&a=update&cid={hd:$data[c].cid}">修改</a></td>
 			<td><a href="{hd:$smarty.const.__CONTROLLER__}&a=delete&cid={hd:$data[c].cid}">删除</a></td>
 		</tr>
 	{hd:/section}
 </table>
</body>
</html>